﻿@model IRIS.Models.LinkViewModel

@{
    ViewBag.Title = "Index";
}

@section SubMenu
{
    <ul id="submenu">
    @foreach (var item in Model.m_linkCategories)
    { 
        <li>@Html.ActionLink(item.Name, "../LinkCategry/Index/", new { id = item.ID }) </li>
        
    }
    </ul>
}

<div class="links">
<h4>@Model.m_linkCategory.Name</h4>

@foreach (var item in Model.m_links)
{
   <ul>
   <li>
   <a href="http://@item.URL">@item.Title</a>-<span> @item.Description</span>
   </li>
   </ul>
}
</div>